import Patient from "../views/patientManage/patient"
import PatientList from "../views/patientManage/list";
import PatientDetail from "../views/patientManage/detail";


const patient = {
    path: '/patientManage',
    name: 'PatientManage',
    meta: {
        title: "患者管理",
        requireAuth: true
    },
    component: Patient,
    redirect: "/patientManage/list",
    children: [{
        path: "list",
        component: PatientList,
        meta: {
            title: "患者列表",
            requireAuth: true
        }
    }, {
        path: "detail",
        component: PatientDetail,
        meta: {
            title: "患者详情",
            requireAuth: true
        }
    }]
}


export default patient;